home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / language / embedded / mcu / macros05.arc / READ.ME < prev    next >
Text File  |  1990-05-16  |  3KB  |  77 lines

  1. Information for M6805 Macro Archive File, MACROS05.ARC - 05/16/90
  2. =================================================================
  3.  
  4.   +---------------------------------------------------------+
  5.   | For additional information, obtain Motorola Application |
  6.   | Note AN1055 from your nearest Motorola Literature       |
  7.   | Distribution Center, such as:                           |
  8.   |       Literature Distribution Center (LDC)              |
  9.   |       P.O. Box 20912                                    |
  10.   |       Phoenix, AZ  85036   U.S.A.                       |
  11.   |       (602) 994-6561                                    |
  12.   | Or contact your local Motorola Representative.          |
  13.   +---------------------------------------------------------+
  14.  
  15. The following files are included in this archive:
  16.  
  17.      Filename          Description
  18.      -------------     ----------------------------------------------
  19.      READ.ME           This file
  20.  
  21.      MACROS05.MAC      M6805 macro INCLUDE file
  22.      RAMSBR.INI        RAM subr. INCLUDE file
  23.      EXAMPLE.S         Example source file (modifiable by user!)
  24.  
  25.      MAKE1.BAT         Batch file to make TEST1.S file
  26.      TEST1.S           Test file #1 (low memory)
  27.      TEST1.LST         Test file #1 assembly listing file.
  28.      TEST1.MX          Test file #1 S-record object file (ASCII text).
  29.      TEST1.CF          CDS8 M68HC05 Emulator command file for TEST1
  30.  
  31.      MAKE2.BAT         Batch file to make TEST2.S file
  32.      TEST2.S           Test file #2 (high memory)
  33.      TEST2.LST         Test file #2 assembly listing file.
  34.      TEST2.MX          Test file #2 S-record object file (ASCII text).
  35.      TEST2.CF          CDS8 M68HC05 Emulator command file for TEST2
  36.  
  37. In order to understand the M6805 macros, it is suggested that the user
  38. first read the MACROS05.MAC and RAMSBR.INI files.  Then read the TEST1.S
  39. and TEST2.S files.  Lastly, use PASM05 to compile the test files by
  40. executing the batch files (*.BAT) by simply entering MAKE1, then MAKE2.
  41.  
  42. The best way to incorporate the macros into your program is to first
  43. place all the files in a new working directory named MYPROJ (you can
  44. choose any names here you want) after dearchiving them in your current
  45. directory (hopefully the current directory was empty when you started!).
  46. You may want to make a backup/archive copy of the original directory
  47. contents for when the next project starts or as protection against a
  48. possible disaster.
  49.  
  50.      C>MKDIR \MYPROJ
  51.      C>COPY *.* \MYPROJ
  52.      C>CD \MYPROJ
  53.  
  54. Then copy the EXAMPLES.S file into a working copy of your own, named 
  55. MYFILE.S and edit it to add your application code per the comments in
  56. the file itself.  The "PE" command is used to invoke the IBM Personal
  57. Editor, but you can use any editor you like.
  58.  
  59.      C>COPY EXAMPLES.S MYFILE.S
  60.      C>PE MYFILE.S
  61.  
  62. Next, copy the MAKE1.BAT file into a working copy of your own, named 
  63. MYMAKE.BAT and edit it to change all occurrences of TEST1 to MYFILE (be
  64. sure to do both upper and lower case!).
  65.  
  66.      C>COPY MAKE1.BAT MYMAKE.BAT
  67.      C>PE MYMAKE.BAT
  68.  
  69. Lastly, execute the MYMAKE.BAT file to assemble, link, and build an
  70. S-record file as shown below.
  71.  
  72.      C>MYMAKE
  73.  
  74. You are now off and running in the Debug Phase.  Good luck!
  75.  
  76. **EOF**
  77.